/* 公共样式 */
*{
    margin: 0;
    padding: 0;
}
.content_width{
    width: 1240px;
    margin: 0 auto;
}
ul li{
    list-style-type: none;
}
a{
    text-decoration: none;
    color: black;
}
.content{
    overflow: hidden;
    margin-top: 100px;
}

/* 左边目录 */
.categories{
    float: left;
    margin-left: 150px;
}
.categories nav ul li{
    margin-top: 10px;
}
.categories nav ul li ul li{
    padding-left: 15px;
}
.categories nav{
    margin-top: 30px;
}
.categories .logo img{
    width: 210px;
    height: 41px;
}
/* 右边商品列表 */
.item img{
    width: 325px;
    height: 325px;
}
.item {
    float: right;
    margin-right: 150px;
}
.item ul{
    overflow: hidden;
    width:700px;
    margin: auto;
}
.item ul li{
    float: left;
    width: 330px;
    height: 430px;
    text-align: left;
    margin: 10px;
    /* border: 1px solid black; */
}
.item ul li p{
    margin-top: 5px;
}
.item ul li button{
    margin-top:10px;
    background-color: white;
    width: 100px;
    height: 20px;
    line-height: 20px;
    border: 1px solid black;
}

/* 新品 、 排行 */
.item ul li{
    position: relative;
}
.item ul li .new img{
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    left: 0;
}

/* product选择 */
.select{
    width: 700px;
    height: 80px;
    line-height: 80px;
    border-bottom: 1px solid #eeeeee;
}
.select span{
    margin-right: 322px;
}
.select select{
    height: 30px;
}
/* 底部 */
footer{
    height: 210px;
    margin-top: 30px;
}
.footer_left{
    float: left;
    margin-left: 150px;
}
.footer_right{
    float: right;
    margin-right: 150px;
}
.footer_left div{
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: black;
    color: white;
    border-radius: 5px;
    font-size: 20px;
    margin: 5px;
    float: left;
}
.footer_right .iconfont{
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    background-color: #9EA5B2;
    color: white;
    font-size: 25px;
    padding:5px;
}

footer ul{
    background-color: #eeeeee;
    color: #777777;
    font-size: 10px;
    width: 155px;
    text-align: center;
    border: 1px solid #eeeeee;
    box-shadow: 2px 2px 4px rgba(0,0,0,.2);
}
footer ul li{
    line-height: 20px;
    height: 20px;
    padding: 10px;
}
footer ul li a{
    color: #777777;
}
/* 第一个 */
.footer_left div:nth-of-type(2){
    position: relative;
}
.footer_left div:nth-of-type(2) ul{
    text-align:left;
    position: absolute;
    top: -135px;
    left: -55px;
    display: none;
}
.footer_left div:nth-of-type(2) ul li{
    margin-left: 25px;
}
.footer_left div:nth-of-type(2):hover ul{
    display: block;
}
.footer_left div:nth-of-type(2) ul::after{
    content: '\25bc';
    font-size: 25px;
    color: #eeeeee;
    position: absolute;
    bottom: -23px;
    left: 62px;
}
.footer_left div:nth-of-type(2) ul li::before{
    content: '\25ba';
    font-size: 10px;
}
/* 第二个 */
.footer_left div:last-of-type{
    position: relative;
}
.footer_left div:last-of-type ul{
    text-align: center;
    position: absolute;
    top: -95px;
    left: -55px;
    display: none;
}
.footer_left div:last-of-type:hover ul{
    display: block;
}
.footer_left div:last-of-type ul::after{
    content: '\25bc';
    font-size: 25px;
    color: #eeeeee;
    position: absolute;
    bottom: -23px;
    left: 62px;
}
/* 固定图标 */
.fixed .fixed_right div,.fixed button{
    background-color: black;
    color: white;
    font-size: 30px;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.fixed .fixed_right div:first-of-type{
    position: fixed;
    top: 30px;
    right: 75px;
    width: 100px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 15px;
}
.fixed .fixed_right div:last-of-type{
    position: fixed;
    right: 15px;
    top: 30px;
}
/* 搜索框 */

.fixed .fixed_left input{
    height: 48px;
    line-height: 48px;
    width: 200px;
    position: fixed;
    top: 30px;
    left: 15px;
    border-radius: 5px;
    outline: none;
    border: 1px solid gray;
    display: none;
    transition: all .5s linear;
}

.fixed .fixed_left button{
    border: none;
    outline: none;
    position: fixed;
    top: 30px;
    left: 15px;
    transition: all .2s linear;
}
.fixed_left:hover input{
    display: inline-block;
}
.fixed_left:hover button{
    left: 166px;
}
.fixed .fixed_right div:first-of-type .login{
    border: 1px solid #eeeeee;
    width: 130px;
    position: absolute;
    right: 0;
    top: 51px;
    padding: 5px;
    box-shadow: 2px 2px 4px rgba(0,0,0,.2);
    display: none;
}
.fixed .fixed_right div:first-of-type{
    transition: all .7s linear;
}
.fixed .fixed_right div:first-of-type:hover .login{
    display: block;
}
.fixed .fixed_right div:first-of-type .login li{
    text-align: left;
    height: 30px;
    line-height: 30px;
    margin: 10px;
    padding-left: 5px;
}
.fixed .fixed_right div:first-of-type .login li:hover{
    background-color: #EDEDED;
}